#ifndef CAR_H_
#define CAR_H_
#include <string>
using namespace std;
#include <iostream>

class Car{
private:
	string	brand;
	int 	wheelCount;
	double 	price;
public:
	Car(const string& string, double price, int wheelCount = 4);


	//set get
	const string& getBrand() const { return this->brand; }
	int getWheelCount() const { return this->wheelCount; }
	double getPrice() const { return this->price; }

	void setWheelCount(int wheelCount) { this->wheelCount = wheelCount; }

	inline void display() const;
};

void Car::display() const
{
	cout << "brand: " << brand << endl;
	cout << "wheelCount: " << wheelCount << endl;
	cout << "price: " << price << endl;
}

#endif
